package com.baizhi.dao;

import com.baizhi.entity.Celebrity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CelebrityDao {
    public List<Celebrity> selectCelebrities(@Param("pageNum")Integer pageNum,
                                             @Param("pageSize")Integer pageSize);
    public Celebrity selectCelebrityById(Integer id);
    public void insertCelebrity(Celebrity c);
    public void deleteCelebrityById(Integer id);
    public void updateCelebrity(Celebrity c);
}
